package com.yanpp.tunte.security.dao;

import com.yanpp.tunte.security.entity.Role;

import java.util.List;

/**
 * Created by Administrator on 2015/6/11.
 */
public interface RoleDao {
    public Role createRole(Role role);
    public Role updateRole(Role role);
    public void deleteRole(Long roleId);

    public Role findOne(Long roleId);
    public List<Role> findAll();

}
